<?php
/*!
 * LostKids API PHP Library v0.1 
 * http://huali.li/
 *
 * Copyright 2011, 
 * Written By James Pang
 *  
 * Date: 2011/2/14
 */

class Utils
{
    const DELIM = '_dEL_Im_';

    public static function implodeKey() {
        return implode(self::DELIM, func_get_args());
    }

    public static function explodeKey($key) {
        return explode(self::DELIM, $key);
    }

    public static function isNumeric($key) {
        return preg_match('/[^\d]/', $key) === 0;
    }
}
?>
